xen/arm32: traps: Dump more information for hypervisor data abort
authorJulien Grall <jgrall@amazon.com>
Fri, 12 Aug 2022 19:24:48 +0000 (20:24 +0100)
committerJulien Grall <julien@xen.org>
Wed, 31 Aug 2022 19:16:22 +0000 (20:16 +0100)
commite997d055929665b12246e89eb092dc79c65de9a4
tree10df461919663f92ab3f3505627ddbedb2bb9c96
parente1710891c72b513dea8e24a3e0d8969a91a4fa39
xen/arm32: traps: Dump more information for hypervisor data abort

Unlike arm64, on arm32 there are no extra information dumped (e.g.
page table walk) for hypervisor data abort.

For data abort, the HSR will be set properly and so call
do_trap_hyp_sync() instead of do_unexpected_trap() on arm32 to have
the print the same information as arm64.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/arm32/traps.c
xen/arch/arm/include/asm/traps.h